package com.flydog.taskManager.dto;


import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
public class PhaseTaskSearchParam {
    private String name;
    private String target;
    private String tags;
    private Integer processStatus;
    private Integer importance;
    private Date beginStart;
    private Date beginFinish;
    private Date endStart;
    private Date endFinish;

    public boolean isParamNull() {
        return this.name == null && this.target == null && this.tags == null && this.processStatus == null
                && this.importance == null && this.beginStart == null
                && this.beginFinish == null && this.endStart == null
                && this.endFinish == null;
    }
}
